/**
 * 文件的读写
 */
#include <string>
#include <fstream>

using namespace std;

int main()
{
    ifstream in("scopy.cpp");
    ofstream out("scopy2.cpp");
    string s;
    while(getline(in, s) != NULL)
    {
        out << s << "\n";
    }
    return 0;
}
